﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AnguaRPGEngine.DND4eModule;

namespace AnguaRPGEngine.DND4eModule.Forms
{
    public partial class QuestionAnswerEditor : Form
    {
        public QuestionAnswer QandA
        {
            get
            {
                return new QuestionAnswer(txtQuestion.Text, txtAnswer.Text);
            }
            set
            {
                txtQuestion.Text = value.Question;
                txtAnswer.Text = value.Answer;
            }
        }
        public QuestionAnswerEditor()
        {
            InitializeComponent();
        }
    }
}
